package calorie.com.calorie.response;

import java.util.List;

public class TransferRecordResponce {

    /**
     * code : 200
     * msg : success
     * data : [{"other":"ban","tokenNum":"10","id":"1","time":1543820014000,"type":"TIV"},{"other":"jack","tokenNum":"12","id":"2","time":1543820014000,"type":"CAL"},{"other":"ban","tokenNum":"13","id":"3","time":1543820014000,"type":"CAL"},{"other":"ban","tokenNum":"14","id":"4","time":1543820014000,"type":"TIV"},{"other":"fali","tokenNum":"15","id":"5","time":1543820014000,"type":"CAL"},{"other":"jack","tokenNum":"16","id":"6","time":1543820014000,"type":"TIV"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * other : ban
         * tokenNum : 10
         * id : 1
         * time : 1543820014000
         * type : TIV
         */

        private String other;
        private String tokenNum;
        private String id;
        private long time;
        private String type;

        public String getOther() {
            return other;
        }

        public void setOther(String other) {
            this.other = other;
        }

        public String getTokenNum() {
            return tokenNum;
        }

        public void setTokenNum(String tokenNum) {
            this.tokenNum = tokenNum;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
